updating selected member variables