fix bug whereby multiple simultaneous ajax request prevent old arcs from being deleted, change graph labelling