updating code bits