Update db for deployment and fixed gemfile SSL error