update renumber function and documentation