updated calendar control