Fixed not passing file directory to sql update