fix for manually updating compas while providing an update function,

values weren't coming out the same as they went in.