update timeformat