update the bin file