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: [438, 318, 174, 351, 424, 156, 443, 43, 142, 83, 234, 180, 494, 49, 376, 145, 115, 194, 280, 44]
Example Output: [438, 318, 174, 351, 424, 156, 443, 494, 142, 83, 234, 180, 43, 49, 376, 145, 115, 194, 280, 44]

Example Input: [488, 495, 268, 140, 130, 379, 67, 298, 407, 250, 449, 74, 499, 465, 66, 426, 215, 43, 251, 374]
Example Output: [488, 495, 268, 140, 130, 379, 67, 298, 407, 250, 449, 74, 43, 465, 66, 426, 215, 499, 251, 374]

Example Input: [244, 406, 385, 314, 323, 281, 46, 121, 195, 148, 124, 452, 414, 24, 296, 458, 301, 283, 293, 400]
Example Output:
[244, 406, 385, 314, 323, 281, 46, 121, 195, 148, 124, 452, 414, 458, 296, 24, 301, 283, 293, 400]