Update name and variables.