update some values