Support for updating repositories. Also fixed issue with setting booleans
in hooks.