Add update method for DDL and INSERT, UPDATE, or DELETE queries