Modifies all dashboard part to get data from database.