update pre-commit script