updating User and Registered classes