Adding call back to insert