update map when sync is finished