Hash updates on map type change and change map