Given the task definition and input, reply with output. 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.

[82, 63, 259, 99, 462, 116, 461, 303, 58, 394, 358, 190, 218, 43, 108, 28, 174, 224, 492, 47]
[82, 63, 259, 99, 462, 116, 461, 303, 58, 394, 358, 190, 218, 43, 108, 492, 174, 224, 28, 47]