add and remove block added