Fixed edit bug.  Fixed deleting bug