update period with appropriate decoration