Is there a way to access and update the RDS table of a report?

We would like to create a program that automatically updates the RDS-table of a report with the number of fields of a database table. Is this possible?