Update registers