fix modify and update all operation bugs