Register code updated