update date.textContext