A user account was updated.
Modules may use this hook to update their user data in a custom storage after a user account has been updated.
$edit: The array of form values submitted by the user.
$account: The user object on which the operation is performed.
$category: The active category of user information being edited.
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
function hook_user_update(&$edit, $account, $category) {
db_insert('user_changes')
->fields(array(
'uid' => $account->uid,
'changed' => time(),
))
->execute();
}