Update of the diff prototype