updating some variables