Update the variables and placeholders.