adds missing proposal_id to documents
fixes some issues with data modeling