update QueryHandler with Access-Control-Allow-Origin