Problem upgrading core from Drupal 8.3.5 to Drupal 8.3.6

Hi all,
I’ve upgraded a Drupal8 site from core 8.3.5 to 8.3.6 with the command “composer update drupal/core –with-dependencies”.

The procedure stopped with the command “Generating autoload files” so I don’t think that the system has been upgraded.
But if execute again the command it say that the system is updated.
The backend, in fact, says that the old core is still installed.

So now I don’t know which is the core installed and how to have a clean core 8.3.6 not 8.4.0 installed.
How can I solve this problem?

Thank you very much

$ composer update drupal/core --with-dependencies
Cannot create cache directory /var/www/mce/.cache/composer/repo/https---packages.drupal.org-8/, or directory is not writable. Proceeding without cache
Cannot create cache directory /var/www/mc/.cache/composer/repo/https---packagist.org/, or directory is not writable. Proceeding without cache
Cannot create cache directory /var/www/mce/.cache/composer/files/, or directory is not writable. Proceeding without cache
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 0 installs, 19 updates, 0 removals
  - Updating twig/twig (v1.34.3 => v1.34.4): Downloading (100%)         
  - Updating symfony/yaml (v2.8.22 => v2.8.26): Downloading (100%)         
  - Updating symfony/translation (v2.8.22 => v2.8.26): Downloading (100%)         
  - Updating symfony/validator (v2.8.22 => v2.8.26): Downloading (100%)         
  - Updating symfony/serializer (v2.8.22 => v2.8.26): Downloading (100%)         
  - Updating symfony/routing (v2.8.22 => v2.8.26): Downloading (100%)         
  - Updating symfony/http-foundation (v2.8.22 => v2.8.26): Downloading (100%)         
  - Updating symfony/process (v2.8.22 => v2.8.26): Downloading (100%)         
  - Updating symfony/event-dispatcher (v2.8.22 => v2.8.26): Downloading (100%)         
  - Updating symfony/debug (v2.8.22 => v2.8.26): Downloading (100%)         
  - Updating symfony/http-kernel (v2.8.22 => v2.8.26): Downloading (100%)         
  - Updating symfony/dependency-injection (v2.8.22 => v2.8.26): Downloading (100%)         
  - Updating symfony/console (v2.8.22 => v2.8.26): Downloading (100%)         
  - Updating symfony/class-loader (v2.8.22 => v2.8.26): Downloading (100%)         
  - Updating guzzlehttp/guzzle (6.2.3 => 6.3.0): Downloading (100%)         
  - Updating doctrine/inflector (v1.1.0 => v1.2.0): Downloading (100%)         
  - Updating doctrine/cache (v1.6.1 => v1.6.2): Downloading (100%)         
  - Updating doctrine/common (v2.7.2 => v2.7.3): Downloading (100%)         
  - Updating drupal/core (8.3.3 => 8.3.6): Downloading (100%)         
Writing lock file
Generating autoload files
Drupal version: 


Source: https://www.drupal.org/taxonomy/term/21/feed