fixed map update issue