added db type into path