Write the user update action