updated phone gap plugin