Modifaing Database adapter