Added call to upDateKeys in insert(), and added recursive call in UpdateKeys()