update image edit widget