update sql file