update dist with proper path