use six to update settings dict