update instance api test, adding timeout, checking for deleted instance