SET

property updates

The SET clause updates properties on nodes and relationships.

Reference: SET manual page
Related: :help MATCH :help WHERE :help Cypher
MATCH (fan:Person)-[w:WATCHED]->(movie)
WHERE fan.name = "Mikey"
SET w.rating = 5
Mikey likes everything, so give any movie he has watched 5 stars.