validation and few modification in item and category