Update pg and rails gems