Updating encryption settings