This action runs when user details are updated on profile page in the front end.
$POST is an array of data associated with the user.
$FILES is an array of file data to save for a user.
$server is an array of data of a server’s details.
$gid is the group ID for which the registration form has been submitted.
$fields is an array of field data associated with the group.
$user_id is the ID of the user that has just been updated.