How did the Tang dynasty change civil service?

It eliminated training programs.
It expanded the merit-based system.
It increased pay for civil government jobs.
It gave government jobs to the most loyal citizens.