update precommit hook