Added an API call for updating VM's