remove deprecation warning for momentjs
update invoices chart