checkbox working in edit