Fix an issue which prevents vnet to be updated correctly