adding changes to the file