In this task, you are given a list of unique integers you need to swap the positions of maximum and minimum element in the list and return the updated list.

Example Input: [157, 298, 54, 206, 237, 485, 440, 282, 247, 450, 28, 280, 474, 496, 379, 390, 392, 217, 422, 165]
Example Output: [157, 298, 54, 206, 237, 485, 440, 282, 247, 450, 496, 280, 474, 28, 379, 390, 392, 217, 422, 165]

Example Input: [165, 22, 87, 424, 154, 434, 433, 149, 478, 426, 489, 275, 18, 320, 442, 318, 303, 104, 472, 29]
Example Output: [165, 22, 87, 424, 154, 434, 433, 149, 478, 426, 18, 275, 489, 320, 442, 318, 303, 104, 472, 29]

Example Input: [114, 363, 306, 103, 146, 131, 217, 420, 350, 66, 195, 442, 313, 153, 235, 18, 127, 204, 247, 291]
Example Output:
[114, 363, 306, 103, 146, 131, 217, 420, 350, 66, 195, 18, 313, 153, 235, 442, 127, 204, 247, 291]