Education Secretary Jenny Gilruth said the government had already invested £1.75bn but admitted that the new data showed there was more to do.