If you have fully upgraded all of your walls and are looting resources faster than your builders can use them, it will likely be more efficient to upgrade your Town Hall and complete the remaining upgrades then. Complete the laboratory upgrades for the troops you use and spells.