Reactive map update logic