connected items to database