remove old api code for records#index