update tags and tree categories behaviour