Update the diary and tidy up the folders.