refactor / restore edit

TODO: add sort by fields
implement delete

TODO: update product list after delete is successful