Germany moves to boost presence in Afghanistan, training in Iraq