this is to check whether the visibility and category updates properly