contracts and spending api updates