Fix user update bug