update bip writer