updated some api's