Refactored record updates.