Update incident query.sql