update libraries and gems