the front page displays setting as set under settings > reading is stored in the options table under show_on_front
, with value either posts
or page
.
if page is selected, the selected pages are stored in options page_on_front
and page_for_posts
, with the id of the selected pages as value.
you can update these options yourself from your settings page.