Changing CreateBin for variable update function (through function pointer)