rename api dir