Write to sql script
update setup