Madisonville to undergo major infrastructure upgrade