updated contentreplacer