[IMP] - migrate to the version 8 and to the new api declaration