Optimize call map.update (not need canvas parameter)