Fix bug update file