fixed bugs on parameter update. now parameter UI works as expected.