Fixed encryption upon update
Fixed encryption upon update