updates to get and set the config options correctly