Ordinances may be amended or repealed in the same manner as provided for the original adoption of ordinances. When any part of an ordinance is amended, the whole section as amended shall be re-enacted. An ordinance may be repealed by reference to its number and title only.