update script for new device repos