update API and add name