Try to keep the braces we need while removing lines from updater-script

Change-Id: I57c08b808db3720ffd4ead38dddd0454baee845c