Add helper function to update an option

Working on WP-CLI functionality for a plugin; would be helpful to use this to update options outside of the displayed form.