update profile file