Hchanging value of hash associated with a particular key

I am a novice in Ruby. I want to change the value of hash associated
with a particular key.

H = Hash[“a” => 100, “b” => 200]
I want the value associated with a=>300 and this change should be
permanent.

Please give the methods except
hash.[key]=value

irb(main):001:0> h = {“a” => 100, “b” => 200}
=> {“a”=>100, “b”=>200}
irb(main):002:0> h.store ‘a’, 300
=> 300
irb(main):003:0> h
=> {“a”=>300, “b”=>200}