I have a Pivot table that is taking the data from another sheet of the same Excel file.

I need to know how can I edit the data range? When I was creating the Pivot table I was assigning the data rage as data!$A$3:$E$21 now I need to edit it to data!$A$3:$E$50

Thank you,