support dict update with a dict.