make update script resolve its own path