change upload directory with relative paths