changed DB access