count properly; update data