updated calendar to previous state