merge of edit_pool and show_pool