update date demo and date api docs