Modify database adapter