Updated polypharm chart to get the data from DB