updating learn_fmt