debuged the new API for the insert function, should be working now.