add func
update binary