Update spec with the lifetime field.