Adding version check to update.sh