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.

[319, 207, 24, 411, 458, 337, 145, 59, 387, 265, 199, 326, 262, 313, 282, 136, 310, 351, 42, 385]
[319, 207, 458, 411, 24, 337, 145, 59, 387, 265, 199, 326, 262, 313, 282, 136, 310, 351, 42, 385]