added callback to category update