build-avalon-image.sh: add --update, fix more path error