Fix wrong pref prefix
Update pref key