add fota and upload log