update data type for bethistory date creation