changed api directory