replace instances of proposalId with proposal_id