update calendar layout