Update version and type