add a standalone update script