implement map change with the updateEvent command