adding a bit updater code