Propagation of spatial optical solitons in a dielectric with adjustable nonlinearity