addming search role to pattern actions