csv and DB update