updating registration