fix the update date issue