update bits