updated edit invoice methods