small api updates