update current period