direct invoice db updation