improve interactivity with add and delete