invoice fixes
db update