add and update gems