changed insert query again