Fix for unused argument when updating profile.
API documentation.