update map functions