update time in schema