new method "replace"

Replace for report definitions.