added database features to graph