Updated user update functionality