updated calendar generate

updated calendar generate