updates composer and install twigs provider on index.php