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: [134, 286, 251, 323, 396, 64, 294, 191, 75, 189, 386, 455, 30, 116, 287, 96, 420, 475, 382, 186]
Example Output: [134, 286, 251, 323, 396, 64, 294, 191, 75, 189, 386, 455, 475, 116, 287, 96, 420, 30, 382, 186]

Example Input: [23, 333, 423, 428, 337, 134, 388, 129, 293, 364, 92, 246, 275, 481, 361, 393, 375, 208, 279, 127]
Example Output: [481, 333, 423, 428, 337, 134, 388, 129, 293, 364, 92, 246, 275, 23, 361, 393, 375, 208, 279, 127]

Example Input: [51, 478, 19, 347, 243, 112, 95, 326, 321, 23, 230, 161, 74, 99, 409, 440, 405, 377, 317, 481]
Example Output:
[51, 478, 481, 347, 243, 112, 95, 326, 321, 23, 230, 161, 74, 99, 409, 440, 405, 377, 317, 19]