working on edit-new widget