update diary and calendar