update date sample