update mcd and library