added functions for updateAMap events