update commit rule