Updating encryption