updated imagoModel for new api