update learning model