But they said further training of Afghan troops is necessary to ensure long-term security in Afghanistan .