update hashmap work -broken