issue #10 delete in edit view

database command change ported to edit.php