update .sql file