updating the domain model
some changes fo Boolean to primitive data type