updating profile page, variables sent to profile