set db adapter after storing config