Update select_rows.r