updating the user file