I kept trying for a while and could not figure out what exactly was not working the print strings would show that the bp was being updated but the niagara system would not reflect that change I think it was more that set niagara variable does not do what i thought it does. I have solved my issue by using a niagara parameter collection instead.