made mongoose call save the call back function.