updated tag cloud code