versioning

Store the upload with version history instead of replacing the template in place.