overwrite_query