I'm using such kind of query in Neo4j database:

```
MERGE(n:type {key:"xyz"})
ON CREATE SET n.create_date = timestamp() 
ON MATCH SET n.update_date = timestamp()
SET n.att1=value1, n.att2=value2

```

The ON MATCH will help me to identify if a node has been found, but not if attributes have really been changed.

Is there any way we can use so we can detect that any attribute of a node has been changed ? For instance running the same query once again will change update\_date attribute without really changing attributes. I would like to be able to detect that att1 or att2 has been changed.

Thanks a lot