can use pagination and update all_record_model