Refactored user update functionality.