java 6 pref update