Add patch_of_diffs
Add main patchs functions and fix return values from thoses already presents