update file db trong shell script