added latest api imports

this code changed to effect in latest Api imports