Further Update of edit

Further update of edit to ensure it is written to file