update some fields