update arrows when editing