updated the calendar activity