I've tried using the if function to implement a conditional write on a version property, but it doesn't seem to be working. I see from the implementation you're using the deprecated Expected attribute, are planning to move to the ConditionExpression instead?