Remove old and update libraries.