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: [178, 290, 466, 27, 49, 124, 287, 462, 459, 486, 489, 464, 48, 13, 293, 136, 482, 407, 336, 415]
Example Output: [178, 290, 466, 27, 49, 124, 287, 462, 459, 486, 13, 464, 48, 489, 293, 136, 482, 407, 336, 415]

Example Input: [243, 312, 181, 499, 87, 173, 341, 443, 203, 314, 47, 198, 152, 41, 208, 184, 274, 437, 26, 226]
Example Output: [243, 312, 181, 26, 87, 173, 341, 443, 203, 314, 47, 198, 152, 41, 208, 184, 274, 437, 499, 226]

Example Input: [243, 171, 26, 446, 109, 477, 285, 67, 193, 123, 335, 288, 357, 135, 51, 464, 257, 447, 208, 240]
Example Output:
[243, 171, 477, 446, 109, 26, 285, 67, 193, 123, 335, 288, 357, 135, 51, 464, 257, 447, 208, 240]