updating for user management