updated sortable tables in books controller