Fixed updirpath