added code for manual indexing in persist method call for neo4j