update register mark