Added combining QUERY, DELETE and UPDATE