dict.update doesn't return a dict, it mutates it