add adapter to database