changing api location