csv and sql changes