Update patches for new code