add path contains api