fix a bubug while updating orth data