Remove unused variable and change `merge` to `merge!` 

Remove unused variable and change `merge` to `merge!` on new hash to save extra object allocation