md upgrade