modify bin file