adding settings_index and updating profile