update profile page for both user and admins