Change data-tyep from integer to boolean