revamp gemfile and upgrade gems