update pg and rails_12factor