Updating state ref to ingredient