Update logic for performance