add category only when it exists