update time prediction