fix regression: update map on model change