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: [406, 12, 301, 282, 125, 192, 14, 52, 402, 112, 232, 270, 86, 169, 434, 69, 379, 200, 165, 263]
Example Output: [406, 434, 301, 282, 125, 192, 14, 52, 402, 112, 232, 270, 86, 169, 12, 69, 379, 200, 165, 263]

Example Input: [23, 333, 423, 428, 337, 134, 388, 129, 293, 364, 92, 246, 275, 481, 361, 393, 375, 208, 279, 127]
Example Output: [481, 333, 423, 428, 337, 134, 388, 129, 293, 364, 92, 246, 275, 23, 361, 393, 375, 208, 279, 127]

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]

