update time periods