update date and data