Update encrypted file