Updating sql file