settings are now saved to table