modify the period time