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: [331, 255, 149, 439, 494, 421, 356, 361, 394, 496, 342, 396, 137, 364, 189, 47, 174, 353, 220, 219]
Example Output: [331, 255, 149, 439, 494, 421, 356, 361, 394, 47, 342, 396, 137, 364, 189, 496, 174, 353, 220, 219]

Example Input: [384, 245, 493, 489, 397, 346, 336, 151, 166, 395, 179, 83, 351, 340, 421, 223, 14, 13, 160, 186]
Example Output:
[384, 245, 13, 489, 397, 346, 336, 151, 166, 395, 179, 83, 351, 340, 421, 223, 14, 493, 160, 186]