1. A computer-implemented method for updating a modeled object, the method comprising: providing an operation, providing: an old input graph of the operation, an old output graph corresponding to an application of the operation to the old input graph, a new input graph of the operation, computing a rewriting rule that specifies a replaced which is a part of the old input graph to be replaced, a replacement which is a part of the new input graph to replace the replaced, an interface which is a part common to the replaced, the replacement and the old output graph, applying the rewriting rule to the old output graph.