updates requirements in composer.json