made some api updates.