Fixed a bug in update_avatar.

kwargs was not being expanded (**kwargs) as it was passed to _get(...).