update gem/cap