changed db adapter to find by id