update of arrows id and visibility