small changes to handle update and installation of required packages