Added a method to refresh all piles.