fix not write update time bug