updated random and food_info dynamically