food update system refactored