react on update hook if available - introduced for OC7
Merge pull request #16 from owncloud/use-update-hook

react on update hook if available - introduced for OC7