update cap and gemfile