update way of specifying version in composer.json