Fixed upload csv file and update on database