added updating of user profile