category form validation updated