fix user update bug