update table associations