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.

[181, 410, 164, 375, 232, 351, 327, 52, 382, 128, 162, 248, 344, 478, 477, 284, 243, 73, 218, 35]
[181, 410, 164, 375, 232, 351, 327, 52, 382, 128, 162, 248, 344, 35, 477, 284, 243, 73, 218, 478]