adds setting values with dictionary