adding a new file and updating previous