updated cypher query