changing expiry units to seconds