modified view of index and also checkbox default value changed while creating a new record