Dynamically changes the url of the model to fetch the correct one