Fix update.sh to work on 5.5 and lower too