modify B tree insert method