convert expirationDate to ms
update binary