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: [338, 79, 27, 229, 433, 471, 328, 497, 474, 322, 424, 42, 341, 393, 32, 479, 280, 493, 428, 103]
Example Output: [338, 79, 497, 229, 433, 471, 328, 27, 474, 322, 424, 42, 341, 393, 32, 479, 280, 493, 428, 103]

Example Input: [265, 475, 341, 442, 418, 161, 53, 69, 485, 331, 436, 450, 144, 455, 98, 488, 333, 273, 221, 51]
Example Output: [265, 475, 341, 442, 418, 161, 53, 69, 485, 331, 436, 450, 144, 455, 98, 51, 333, 273, 221, 488]

Example Input: [68, 367, 282, 379, 289, 321, 305, 254, 426, 108, 287, 23, 402, 268, 461, 222, 24, 312, 144, 125]
Example Output:
[68, 367, 282, 379, 289, 321, 305, 254, 426, 108, 287, 461, 402, 268, 23, 222, 24, 312, 144, 125]