Text this: Reconfigurable nonlinear response of dielectric and semiconductor metasurfaces