updated the category foreign ID.