adding reference links removing old table