install works for both update and initial run