changes dictionary api call