updating calendar init