update calendar model
pep8 fixes