update static root path to be relative