update to include absolute dir, not just basename