Changed db adapter