Code for Food was Food initially. It was updated as the existing code Miscellaneous that was found to be getting saved.
With search list showing unupdated data while selecting the record displays the updation.