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: [258, 62, 343, 490, 233, 496, 293, 255, 271, 334, 398, 184, 217, 305, 246, 416, 261, 118, 241, 260]
Example Output: [258, 496, 343, 490, 233, 62, 293, 255, 271, 334, 398, 184, 217, 305, 246, 416, 261, 118, 241, 260]

Example Input: [161, 38, 129, 34, 32, 387, 172, 89, 220, 189, 257, 229, 218, 43, 268, 39, 210, 411, 22, 99]
Example Output: [161, 38, 129, 34, 32, 387, 172, 89, 220, 189, 257, 229, 218, 43, 268, 39, 210, 22, 411, 99]

Example Input: [146, 354, 466, 465, 481, 390, 64, 176, 347, 420, 459, 386, 299, 468, 15, 161, 18, 422, 300, 188]
Example Output:
[146, 354, 466, 465, 15, 390, 64, 176, 347, 420, 459, 386, 299, 468, 481, 161, 18, 422, 300, 188]