composer update a package code example
Example 1: update particular package composer
composer update doctrine/doctrine-fixtures-bundle
Example 2: composer install without dependencies
composer install --ignore-platform-reqs
Example 3: composer update
php composer.phar update
Example 4: composer update single package
composer require {package/packagename}