Add segments, segment efforts to db