add databaseOpts
get next subgraph from border
Merge branch 'Develop'