update diff+1