update for count(*) and value for no conditions