fixed updating issue for profile page