Update and rename viewInvoice.json to savecontract.json