fix user update/edit bug