changed api and new reddit api