added custom flow repository to handle dinamic tables