implemented api changes