Definition: 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.
Input: [229, 218, 15, 175, 68, 460, 146, 243, 61, 98, 351, 192, 459, 481, 10, 186, 442, 309, 34, 498]

[229, 218, 15, 175, 68, 460, 146, 243, 61, 98, 351, 192, 459, 481, 498, 186, 442, 309, 34, 10]