updating apt before installing packages