chang url to be the returned view