update time bug fix