update time formate