Replace an artifact

Replaces the contents of an existing artifact.