add path pattern