Fix syntax for match + udpate examples

@mlucy -- could you take a look when you will have the chance?