added states to invoice, along with new db fields to support