add chapter to database