Update Query.pl