changed sequence of update/install