registering the change in history.txt