d3 cloud dynamiclly change according to the data from the database