update learning rails