fix merging dict-update error