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: [332, 397, 20, 176, 157, 58, 415, 67, 299, 201, 250, 295, 417, 310, 302, 132, 138, 117, 440, 315]
Example Output: [332, 397, 440, 176, 157, 58, 415, 67, 299, 201, 250, 295, 417, 310, 302, 132, 138, 117, 20, 315]

Example Input: [463, 228, 473, 145, 347, 39, 90, 233, 455, 128, 219, 239, 336, 467, 69, 493, 339, 457, 120, 354]
Example Output: [463, 228, 473, 145, 347, 493, 90, 233, 455, 128, 219, 239, 336, 467, 69, 39, 339, 457, 120, 354]

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]