updates for vm api changes