Gem update and prune