changing api settings