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.

[72, 154, 178, 240, 48, 305, 77, 311, 13, 488, 117, 442, 112, 490, 270, 150, 307, 263, 242, 40]
[72, 154, 178, 240, 48, 305, 77, 311, 490, 488, 117, 442, 112, 13, 270, 150, 307, 263, 242, 40]