[ update ] use hostname to set path