update file sql