Improved error output. Renamed patch.update to patch.modifier.
Improved error messages