Modify insert to support multiple data insert
Fixed NSString issue where memory was not allocated