update install & added post-commit hook