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: [103, 386, 52, 473, 420, 328, 316, 463, 427, 113, 384, 289, 204, 121, 100, 372, 25, 312, 34, 401]
Example Output: [103, 386, 52, 25, 420, 328, 316, 463, 427, 113, 384, 289, 204, 121, 100, 372, 473, 312, 34, 401]

Example Input: [221, 493, 17, 466, 353, 191, 141, 343, 347, 247, 78, 110, 342, 228, 492, 392, 61, 106, 104, 113]
Example Output: [221, 17, 493, 466, 353, 191, 141, 343, 347, 247, 78, 110, 342, 228, 492, 392, 61, 106, 104, 113]

Example Input: [347, 362, 411, 393, 124, 247, 476, 248, 339, 363, 176, 401, 138, 388, 379, 291, 389, 455, 87, 263]
Example Output:
[347, 362, 411, 393, 124, 247, 87, 248, 339, 363, 176, 401, 138, 388, 379, 291, 389, 455, 476, 263]