Change api endpoints background