updating foreground to latest revision