checking if there is any change in catogaries