Trainline has increased its full-year guidance for the second time in two months after making more cash from ticket sales this year than it previously expected.