updated foreground call