Updated sendApproval code to update statuses instead of boolean