data confi from database