update map and mapcontroller