upading to use latest trext components api