Api: set table for books and subscribers