make some api changes