manifest.json and update.xml generating, few fixes