upgrade mandrake