Preference

Add API to update Preference