fix update date if new value is no valid date