api: sync functions name with changed apis name.