fixed calendar update issues