update some funcs