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.

[152, 116, 100, 375, 391, 303, 242, 390, 269, 470, 277, 35, 184, 350, 292, 347, 441, 29, 262, 171]
[152, 116, 100, 375, 391, 303, 242, 390, 269, 29, 277, 35, 184, 350, 292, 347, 441, 470, 262, 171]