updates css, api and adds pagination to results