updating metadata and version