update working period