should have fixed bug with updating the profile page