Added a command to rebuild the graph database.