just set the attributes on category