Simpler version with HashDict#update

Signed-off-by: chatgris <jboyer@af83.com>