Update composer and remove useless code