[ADD] Migrate api7 to api 8