Update pre-generated composer.json

Add package name and version.
Add version update hooks.