Add efficient update function for Dict
Implement more general Dict update.
Merge pull request #393 from maxsnew/dict

Add efficient update function for Dict