update bools to ints