Updating for phonegap build