Change so it allows submodule commits with others

Fix #4 and #5
Merge pull request #6 from econsultancy/update-hooks

Change so it allows submodule commits with others