update stock
cpp sequence point