Update gems, and update code as needed