add the calendar view and update just like demo