Forward algorithm backward sampling update