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: [48, 373, 251, 432, 93, 83, 294, 360, 168, 78, 239, 107, 293, 396, 494, 171, 282, 120, 473, 474]
Example Output: [494, 373, 251, 432, 93, 83, 294, 360, 168, 78, 239, 107, 293, 396, 48, 171, 282, 120, 473, 474]

Example Input: [489, 53, 198, 184, 370, 132, 322, 74, 279, 186, 316, 158, 460, 25, 126, 295, 12, 57, 332, 194]
Example Output: [12, 53, 198, 184, 370, 132, 322, 74, 279, 186, 316, 158, 460, 25, 126, 295, 489, 57, 332, 194]

Example Input: [222, 187, 453, 396, 322, 161, 333, 308, 241, 460, 480, 252, 442, 343, 43, 80, 132, 316, 417, 269]
Example Output:
[222, 187, 453, 396, 322, 161, 333, 308, 241, 460, 43, 252, 442, 343, 480, 80, 132, 316, 417, 269]