ground work done for updating user information