updated for 3.1
updated composer.json