Instructions: 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: [164, 283, 457, 383, 34, 309, 131, 94, 445, 438, 268, 246, 274, 91, 130, 216, 97, 258, 41, 489]
Output:
[164, 283, 457, 383, 489, 309, 131, 94, 445, 438, 268, 246, 274, 91, 130, 216, 97, 258, 41, 34]