allow packages to be upgraded

I added a new parameter in order to allow 'latest' or versioning for packages.

Also I added a metadata.json