code Update function and i need to edit this function
code Update function CMND and I need to edit this function