update replacements