Uses the right method name

Uses update instead of extend for dicts.