Changing 18650 batteries in a laptop battery pack
The higher capacity should not be a problem.
Problem usually is the control/protection circuit inside the battery pack. It usually detects when you disconnect old battery cells, and marks that battery pack as faulty (doesn't matter that you put good batteries in). The battery pack is no more usable after that.
It happened to me.