implemented delete, rename buttons