change value in a hash