Implemented delete flat - Added edit-update action