contracts api updates