fix cache count bug when update model, counter cache not change, And fix
details and list params bug