sqlite: using external update script