provenance function

Get or update provenance information