The city council of a city of the primary class shall have the power by ordinance to create, open, widen, or otherwise improve, vacate, control, name, and rename any street, alley, or public way or ways, including the sidewalk space within the corporate limits of the city, except that all damages sustained by the owners of the property thereon by opening or widening shall be ascertained as provided in sections 76-704 to 76-724. Whenever any street, alley, or public way shall be vacated, such street, alley, or public way shall revert to the owners of the adjacent real estate, one-half on each side thereof, unless the city reserves title to such street, alley, or public way in the ordinance vacating such street, alley, or public way. In the event title is retained by the city, such property may be sold, conveyed, exchanged, or leased upon such terms and conditions as shall be deemed in the best interests of the city, as authorized in its home rule charter. When the city vacates all or any portion of a street, alley, or public way or ways, the city shall, within thirty days after the effective date of the vacation, file a certified copy of the vacating ordinance with the register of deeds for the county in which the vacated property is located to be indexed against all affected lots.