Update settings class
Make functions work