Update syntax sample to v4 syntax