If you’d like to update an annotation after placed on a PDF file, you can use annotationManager.redrawAnnotation to redraw the annotation after using setImageData.
const stampAnnotation = // the annotation you created
stampAnnotation.setImageData(<image-url>)
instance.Core.annotationManager.redrawAnnotation(stampAnnotation);