Update gems and switch to Postgresql