Update composer to 3.1