method Update(...) 's first params now support map and map's ptr