update BFS patch