more work on edit invoice