Updates user entry in database when account details are changed, validating session and ensuring user data exists beforehand.
Object from UserContext containing information about the user.
Object from UserContext containing information about the user's account.
User-provided value to be inserted.
Field of the new value.
A promise with an object detailing the result.
Updates user entry in database when account details are changed, validating session and ensuring user data exists beforehand.