Updated some variables