If council terms are changed from two years to four years, can the ordinance provide that the existing members' terms are extended from two to four years?

Probably not. Rather those terms should expire in the normal manner, and the four-year terms should be applied to the persons elected at the first election taking place after the effective date of the ordinance.