time update and data update