Insert brackets into db