added basic function to add quote
fixed ) in insert query
minor update