Implement update hook for git submodules.