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: [187, 400, 482, 294, 130, 167, 161, 292, 268, 153, 275, 494, 261, 475, 127, 10, 105, 310, 287, 354]
Example Output: [187, 400, 482, 294, 130, 167, 161, 292, 268, 153, 275, 10, 261, 475, 127, 494, 105, 310, 287, 354]

Example Input: [339, 40, 321, 337, 489, 221, 228, 415, 267, 120, 408, 287, 363, 317, 99, 193, 262, 474, 448, 443]
Example Output: [339, 489, 321, 337, 40, 221, 228, 415, 267, 120, 408, 287, 363, 317, 99, 193, 262, 474, 448, 443]

Example Input: [181, 410, 164, 375, 232, 351, 327, 52, 382, 128, 162, 248, 344, 478, 477, 284, 243, 73, 218, 35]
Example Output:
[181, 410, 164, 375, 232, 351, 327, 52, 382, 128, 162, 248, 344, 35, 477, 284, 243, 73, 218, 478]