How do I edit custom query in Data Sources for Amazon Redshift data import?

How do I edit custom query in Data Sources for Amazon Redshift data import?

I set up a custom query on data import for Amazon Redshift, but now I need to do a small adjustment. I can't find a way to edit the custom query, anyone knows how to do that?

See screenshot attached, table name is "mpe_rpt_list_snapshot"