Update the calendar class