add error handling for service category edit/update page