change active api