update apical and ambient light sensor changes