Update

Improved insert method.