updated diet code