changing url to v1/index