madlib class updated