workmail_update_user function

Updates data for the user