Change api config