Update the HasMap with some key