Update keys variables.