Here made changes on edit for itemdetails in inventory