Edit and delete action fixed.