improve update_tag_cache query

this was making the initial load of the pages feed slow - even for new users.