Fix update script

Change-Id: Ifa32f85ad325c75cacc714ff6926828665d871a7