update expiry on public key