updateMap for object collections