update PhoneGap structure and files