fix npe after connecting to the cluster
vm: fix updating of VM paramerers