Update a diff substition pattern.