The plans were changed when five surplus piles were found; in the end the structure was square, and sat on these five piles.
The plans were revised when five additional piles were found; in the end, the structure was rectangular and supported by these five piles.