Update spending.js