added update class for user