Update gems and make database config less stupid