added foreground data update to the charts page