update phoneGapCode