add setCityName function with param index(from 0) and cityName