updating some values