upgrade gem file