Update composer.json with autoload directive