edit imagedata