update some apis