need to set url too after changing path