update and install some packages