update some API