Update

Corrected generic type declaration
Update

Added insert method