adding changes and updating the file