Replacing Soil for Outdoor Avocado Tree

I'm fessing up to a likely mistake after planting this tree two years ago. It was not demonstrating good growth or root formation. I will swap out the soil to try and improve the tree's prospects.