finish delete, add, show function