update encrypted