update ctable ref