def: update bat