update create invoice handler