Update vm's config