changes to api load