add internal updateArtifact() method which accepts a Model instead of an
InputStream