add product done, wip refactor edit