Automatically updating the calendar