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: [229, 218, 15, 175, 68, 460, 146, 243, 61, 98, 351, 192, 459, 481, 10, 186, 442, 309, 34, 498]
Example Output: [229, 218, 15, 175, 68, 460, 146, 243, 61, 98, 351, 192, 459, 481, 498, 186, 442, 309, 34, 10]

Example Input: [492, 388, 498, 400, 55, 351, 371, 182, 125, 231, 174, 60, 227, 398, 237, 143, 324, 252, 358, 209]
Example Output: [492, 388, 55, 400, 498, 351, 371, 182, 125, 231, 174, 60, 227, 398, 237, 143, 324, 252, 358, 209]

Example Input: [295, 472, 330, 159, 456, 461, 471, 120, 77, 256, 378, 313, 284, 286, 442, 50, 422, 187, 350, 324]
Example Output:
[295, 50, 330, 159, 456, 461, 471, 120, 77, 256, 378, 313, 284, 286, 442, 472, 422, 187, 350, 324]