update.sh: set .needsgc after fetching if appropriate