Updating for smaller phonegap spark image