time update and code modification