tools: update ota script for unified devices

Change-Id: I3c4cd885f0793f624427be832d7a3b4e4f534316