upgrade distribute step added