Changed add_option to make use of an update fn

Per discussion in pull request #58