Fix VM Update cmdlet so that it can update availability set name and resource extensions