Funding boost for Edinburgh pupils