update encrypted content