update fadein and fadeout