update calendar to ajax