challenges db helper