fixed update date problem