update yaf method