change sid type in FK