Updates for phoengap