fix version arg and pass args in upgrade