adding edit behavior for category