Update enc/decryption of links