set date and version