upgrade MANDRAKE