update learning from failure