Update of some variables