update compare periods notebook