Update target-dir and autoload of composer.json