update for phone gap building