edit insert function and delete function CMND to upload  image and thumb