updated for contao 3.1