Updated gems, libraries and related codes