add edit action for all blocks