update bwt