redefine tables
update frontend pages
use like for query
fix programme display issue