add examples to db, index