update purescript example.