update instance api test