update learning react