update commit rules