UN 'must evolve' to tackle terror threat