updated update build method