updating to improved OI api