update file status