Update and organize gems.