This disclosure relates compositions comprising upconverting core-shell nanocrystals and photoactive compositions and methods using these compositions to modify treat myopia and other ocular conditions. In some cases, the methods use near infrared irradiation to adjust the refractive power of light adjustable intraocular lenses.