Update api version to 2.1 . Update Gemfile to avoid deprecation warning