update profile and update pages