update add and delete button