update date editor