Is it possible to update a value of a key in HashMap in Java?