update for registration