update pre-commit setting