updated composer with 5.1 compatibility