update change converter.

more efficient, can now convert back and forth!