updated diff documentation