update index and mapzoom