add paginate and update some css