update packages and remove unused