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: [64, 35, 266, 412, 289, 233, 485, 316, 384, 425, 129, 297, 105, 74, 353, 197, 473, 89, 164, 163]
Example Output: [64, 485, 266, 412, 289, 233, 35, 316, 384, 425, 129, 297, 105, 74, 353, 197, 473, 89, 164, 163]

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]

Example Input: [471, 416, 38, 475, 92, 200, 179, 165, 124, 194, 163, 55, 292, 161, 315, 177, 120, 91, 128, 29]
Example Output:
[471, 416, 38, 29, 92, 200, 179, 165, 124, 194, 163, 55, 292, 161, 315, 177, 120, 91, 128, 475]