Calculate revision automatically
Fixed child feature numbering issue