on read-only mode change redraw connections