api setting changed to online enviroment