only set the key version once