UN counter-terrorism measures must adapt to evolving threat