upd class delete.cs