more updates for postgres and rails db