upate file