All of the ordinances in force in such city as a city of the second class shall remain and be in force and be the ordinances of such city after it shall have become a city of the third class.