updating rayleigh equations