First implementation of update in Differential.m