update sabr.cpp