If the commission shall rescind the order appealed from the appeal shall be dismissed; if it shall alter, modify, or amend the same such altered, modified, or amended order shall take the place of the original order complained of, and the court shall render judgment with reference thereto in said appeal as though said order had been made by the commission in the first instance, after allowing any amendments of the pleadings or other incidental proceedings desired by the parties which the changed situation may require.
RSA 541:16
1913, 145:18. PL 239 :16. 1937, 107:29; 133:90. RL 414:18.