added db module apis