Add edit category method.