slides new api code migration