Updated some variables.