update phonegap version preference