Automatically updating and installing packages