update for stand alone