update labels with data from api call