Update grep configuration