Update git hooks and triangle mixing