updated chef deployment method