minor db interfaces changes