updating the file for diff reasons