update for record