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: [142, 384, 19, 322, 397, 411, 65, 214, 114, 75, 52, 40, 122, 337, 350, 289, 42, 236, 91, 386]
Example Output: [142, 384, 411, 322, 397, 19, 65, 214, 114, 75, 52, 40, 122, 337, 350, 289, 42, 236, 91, 386]

Example Input: [10, 480, 227, 122, 103, 371, 175, 131, 151, 260, 125, 449, 394, 198, 255, 178, 417, 149, 140, 256]
Example Output: [480, 10, 227, 122, 103, 371, 175, 131, 151, 260, 125, 449, 394, 198, 255, 178, 417, 149, 140, 256]

Example Input: [162, 27, 140, 274, 414, 376, 104, 159, 418, 155, 493, 151, 422, 335, 187, 292, 217, 31, 248, 84]
Example Output:
[162, 493, 140, 274, 414, 376, 104, 159, 418, 155, 27, 151, 422, 335, 187, 292, 217, 31, 248, 84]