add update & build script

Change-Id: Idd982461a6af2c113b61bfebb9c2bc4a724a8ab2