clean up databases API