updating view profile