add, edit and delete block