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: [304, 238, 225, 39, 179, 446, 165, 139, 69, 450, 51, 374, 188, 193, 68, 259, 433, 464, 127, 63]
Example Output: [304, 238, 225, 464, 179, 446, 165, 139, 69, 450, 51, 374, 188, 193, 68, 259, 433, 39, 127, 63]

Example Input: [402, 163, 200, 51, 25, 229, 74, 242, 123, 267, 167, 91, 50, 166, 184, 452, 323, 315, 70, 177]
Example Output: [402, 163, 200, 51, 452, 229, 74, 242, 123, 267, 167, 91, 50, 166, 184, 25, 323, 315, 70, 177]

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]